package com.example.graduate.mapper;

import com.example.graduate.Bean.Card;
import com.example.graduate.Bean.CardsCollect;

import java.util.List;

public interface CardsCollectMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(CardsCollect record);

    int insertSelective(CardsCollect record);

    CardsCollect selectByPrimaryKey(Integer id);

    //通过卡片集合id，找到这个集合里面的所有卡片
    CardsCollect selectCards(Integer id);

    List<CardsCollect> selectCardsCollect (Integer id);

    int updateByPrimaryKeySelective(CardsCollect record);

    int updateByPrimaryKey(CardsCollect record);

     List<CardsCollect> selectAllCards();
}